Get Value of Color Sensor

  • Function:

    magicbox.get_color_sensor()
    
  • Description: get pixel data of color sensor

  • Required parameter: null

  • Return: (r, g, b)
    • r: red, range: 0~255
    • g: green, range: 0~255
    • b: blue, range: 0~255
  • Example

    magicbox.get_color_sensor()
    

    Get pixel data of color sensor.

results matching ""

    No results matching ""